<!DOCTYPE html>
<div style="height: 100px">
Tests invalidation after layouting and then removing a layered span. The span should disappear without any residue.
</div>
<div style="display: inline-block; width: 100px; height: 100px; background-color: green"></div>
<div style="display: inline-block; width: 100px; height: 100px; background-color: green"></div>
